<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Thymeleaf示例</title>
    <link rel="stylesheet" th:href="@{/webjars/bootstrap/css/bootstrap.min.css}" />
    <link th:href="@{/common/css/common.css}" rel="stylesheet">
</head>
<body>
	<!-- 不使用layout，直接写 -->
    <div class="container">
        <h1>Welcome!</h1>
        <p th:text="${message}"></p>
        <a th:href="@{/userForm}">添加用户</a>
        <ul>
	        <li th:each="user : ${users}" th:text="${user.username}">示例项目</li>
	    </ul>
    </div>
    <script th:src="@{/webjars/jquery/jquery.min.js}"></script>
    <script th:src="@{/webjars/bootstrap/js/bootstrap.bundle.min.js}"></script>
    <script th:src="@{/common/js/common.js}"></script>
</body>
</html>